module.exports = {
  title: '个人资料',
  base: '/',
  head: [ // 注入到当前页面的 HTML <head> 中的标签
    ['link', { rel: 'icon', href: '/avatar.png' }], // 增加一个自定义的 favicon(网页标签的图标)
  ],
  themeConfig: {
    logo: '/avatar.png',  // 左上角logo
    nav: [ // 导航栏配置
      { text: '首页', link: '/' },
      { text: 'API', link: '/api/' },
      { text: '技术文档', link: '/tech/interview/' },
      { text: 'mpvue', link: '/guide/' },
      { text: 'vue', link: '/vue/' },
      { text: '基础面试js', link: '/js/' },
      { text: 'Typescript', link: '/TypeScript/' },
      { text: 'webpack', link: '/webpack/' },
      { text: '必须掌握', link: '/bikao/' }
    ],
    // sidebar: 'auto', // 侧边栏配置
    navbar: true,
    sidebar: {
      collapsable: false,
      '/guide/': [
        {
          title: '说明',
          collapsable: false,
          children: [
            ''
          ]
        },
        {
          title: '基础知识',
          collapsable: false,
          children: [
            'base',
            'base_vue',
            'base_mpvue',
            'base_vuex'
          ]
        },
        {
          title: '项目规划',
          collapsable: false,
          children: [
            'dev'
          ]
        },
        {
          title: '开发指南',
          collapsable: false,
          children: [
            'dev/prepare',
            'dev/home',
            'dev/auth',
            'dev/search',
            'dev/book-list',
            'dev/book-detail',
            'dev/read',
            'dev/category-list',
            'dev/shelf',
            'dev/crash',
            'dev/error'
          ]
        },
        {
          title: '支付宝小程序开发指南',
          collapsable: false,
          children: [
            'dev/alipay'
          ]
        },
        {
          title: '部署指南',
          collapsable: false,
          children: [
            'release/git',
            'release/server',
            'release/https',
            'release/auto',
          ]
        }
      ],
      '/vue/': [
        {
          title: '基础',
          collapsable: false,
          children: [
            'base'
          ]
        },
        {
          title: 'muke',
          collapsable: false,
          children: [
            'mian_shi',
            '3-1',
            '3-2',
          ]
        },
        {
          title: 'vue原理',
          collapsable: false,
          children: [
            '4-1'
          ]
        },
        {
          title: 'Vue高级特性',
          collapsable: false,
          children: [
            'mixin',
            'diff'
          ]
        },

      ],
      '/TypeScript/': [
        {
          title: '基础',
          collapsable: false,
          children: [
            '1-1',
            '1-2',
            '1-3',
            '1-4',
            '1-5',
            '1-6',
            '1-7',
            '1-8',
            '1-9',
            '1-10',
            '1-11',
            '1-12',
            '1-13',
            '1-14',
          ]
        },



      ],
      '/webpack/': [
        {
          title: '基础',
          collapsable: false,
          children: [
            '1',
            'jichu'
          ]
        }
      ],
      '/bikao/': [
        {
          title: '面试必须掌握',
          collapsable: false,
          children: [
            '1',
            '2',
            '3.数组'
          ]
        }
      ],

    }
  }
};